package com.efast.dmom.aps.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.efast.dmom.aps.dao.base.BaseDao;
import com.efast.dmom.aps.entity.SupplierPartEntity;

public interface SupplierPartDao extends BaseDao<SupplierPartEntity>{

	public int getSupplierPartCountBySupplierId(long id);

	public SupplierPartEntity getCustomerPartBySupplierIdAndPartId(@Param("supplierId") long supplierId,@Param("partId") long partId);

	public List<SupplierPartEntity> getSupplierPartBySupplierId(long supplierId);

	public List<SupplierPartEntity> getSupplierPartByPartId(long partId);
}
